<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>预约挂号记录</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link href="/lobsteruiframe/layuiadmin/layui/css/layui.css" rel="stylesheet" />
    <link href="/lobsteruiframe/layuiadmin/style/admin.css" rel="stylesheet" />
    <script src="/lobsteruiframe/layuiadmin/layui/layui.js"></script>
    <script src="/jslib/lobster.js"></script>
    <script src="/jslib/jquery-3.4.1.min.js"></script>

    <script src="js/registerlist.js"></script>
</head>

<body>
    <div class="layui-fluid">
        <div class="layui-card">
            <div class="layui-card-header layui-form layui-row layuiadmin-card-header-auto">
                <!-- <div class="layui-col-md3">
                <div class="layui-form-item">
                    <label class="layui-form-label">科室1：</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" id="deptId" name="deptId" />
                    </div>
                </div>
            </div> -->
                <div class="layui-col-md3">
                    <div class="layui-form-item">
                        <label class="layui-form-label">挂号时间：</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input" id="starttime" name="starttime" />
                        </div>
                    </div>
                </div>
                <div class="layui-col-md2">
                    <div class="layui-form-item">
                        <label class="layui-form-label">挂号状态：</label>
                        <div class="layui-input-block">
                            <select id="RegState" name="RegState">
                            <option value="0">全部</option>
                            <option value="1">待支付</option>
                            <option value="2">已挂号</option>
                            <option value="3">已退款</option>
                            <option value="4">已取消</option>
                        </select>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md3">
                    <div class="layui-form-item">
                        <label class="layui-form-label">关键词：</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input" id="key" placeholder="请输入就诊人姓名" name="key" />
                        </div>
                    </div>
                </div>

                <div class="layui-col-md1">
                    <div class="layui-form-item" style="line-height:38px; ">
                        <button class="layui-btn layuiadmin-btn-useradmin" style="margin-left: 8px; vertical-align:top;"
                        lay-submit lay-filter="LAY-list-submit" id="btnSearch">
                        <i class="layui-icon layuiadmin-button-btn layui-icon-search"></i>查询
                    </button>
                    </div>
                </div>
            </div>
            <div class="layui-card-body">
                <table id="datatable" lay-filter="datatable" style="width:100%"></table>
            </div>
        </div>
    </div>
</body>

</html>

<script type="text/html" id="viewoption">
    <a class="layui-btn  layui-btn-xs" lay-event="view"><i class="layui-icon layui-icon-detail"></i>查看</a>
</script>
<script type="text/html" id="RegStateTemp">
{{# if(d.OrderState==1){ }}
待支付 
{{# }else if(d.RegState==2 && d.OrderState==2){ }}
挂号成功 
{{# }else if(d.OrderState>5){ }}
已退款
{{# }else if(d.OrderState==5){ }}
已取消 
{{# } }}
</script>
<script type="text/html" id="OrderStateTemp">
    <a class="layui-btn  layui-btn-xs" lay-event="view"><i class="layui-icon layui-icon-detail"></i>查看</a>
</script>
<script type="text/html" id="ModelStateTemp">
{{# if(d.PayMode==1){ }}
微信
{{# }else if(d.PayMode==2){ }}
医保
{{# }else { }}
其它
{{# } }}
</script>